 {
        

        var o = require("./UISoundManager.js");
        cc.Class({
            extends: cc.Component,
            properties: {
                inputName: cc.EditBox
            },
            onRandomBtnClicked: function () {
                var e = ["上官", "欧阳", "东方", "端木", "独孤", "司马"], t = ["雀圣", "赌侠", "赌圣", "稳赢", "不输", "无香"],
                    n = Math.floor(Math.random() * (e.length - 1)), o = Math.floor(Math.random() * (t.length - 1));
                this.inputName.string = e[n] + t[o];
            },
            onLoad: function () {
                this.onRandomBtnClicked();
            },
            onBtnConfirmClicked: function () {
                var e = this.inputName.string;
                "" != e && (Global.utils.searchComp(this.node.parent, "labName", cc.Label).string = e,
                    this.OnPanelClose());
            },
            OnPanelClose: function () {
                o.playEffect("select"), this.node.active = !1;
            },
            checkIsSensitive: function (e) {
                for (var t in ["下流"]) if (e.indexOf(t) >= 0) return !0;
                return !1;
            }
        })
    }